unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls;

type
  TForm1 = class(TForm)
    Button1: TButton;
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;
  arr : array [0..899] of TButton;

implementation

{$R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);
var  i : integer;
begin
  for i := 0 to 899 do
  begin
    arr[i] := TButton.Create(Form1);
    arr[i].Width := 10;
    arr[i].Height := 10;
    arr[i].Top :=100 + 10*(i mod 30);
    arr[i].Left :=150 + 10*(i div 30);
    arr[i].Parent := Form1;
  end;
end;



end.



